package com.ruoyi.doctor.service.impl;

import com.ruoyi.doctor.service.DoctorPatientDrugService;
import com.ruoyi.drug.domain.DrugsDurg;
import com.ruoyi.drug.mapper.DrugsDurgMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DoctorPatientDrugServiceImpl implements DoctorPatientDrugService {
    @Autowired
    private DrugsDurgMapper drugsDurgMapper;

    /**
     * 查询所有药品
     * @param drugsDurg
     * @return
     */
    @Override
    public List<DrugsDurg> selectAllDrugs(DrugsDurg drugsDurg) {
        return drugsDurgMapper.selectDrugsDurgList(drugsDurg);
    }
}
